package com.hqully.smartfumehood.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName dev_error
 */
@TableName(value ="dev_error")
@Data
public class DevError implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    private String errorType;

    /**
     * 
     */
    private String deviceId;

    /**
     * 
     */

//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime occurTime;

    /**
     * 
     */
    private String errorMsg;

    private int isProcessed;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}